<?php
namespace app\vedio\controller;
use think\Controller;

class BaseController extends Controller
{
    const STATUS_SUCCESS = 'success';
    const STATUS_FAIL = 'fail';

    protected function _returnJson($data, $msg = '', $status = self::STATUS_SUCCESS) {
        return ['data' => $data, 'msg' => $msg, 'status' => $status];
    }
}
